﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.AndonManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.AndonManagement.AndonStationVMs
{
    public partial class AndonStationBatchVM : BaseBatchVM<AndonStation, AndonStation_BatchEdit>
    {
        public AndonStationBatchVM()
        {
            ListVM = new AndonStationListVM();
            LinkedVM = new AndonStation_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class AndonStation_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._AndonStation._Name")]
        public string Name { get; set; }
        [Display(Name = "_Model._AndonStation._Code")]
        public string Code { get; set; }
        [Display(Name = "_Model._AndonStation._DeviceUser")]
        public string DeviceUserId { get; set; }
        [Display(Name = "_Model._AndonStation._EquipmentId")]
        public long? EquipmentId { get; set; }
        [Display(Name = "_Model._AndonStation._TagId")]
        public long? TagId { get; set; }
        [Display(Name = "_Model._AndonStation._IpAddress")]
        public string IpAddress { get; set; }
        [Display(Name = "_Model._AndonStation._TagAddress")]
        public string TagAddress { get; set; }
        [Display(Name = "_Model._AndonStation._Remark")]
        public string Remark { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}